var express = require('express');
var router = express.Router();
const deleteTVController = require("../controllers/deleteTV_controller")
router.delete("/delete", (req, res) => {
    const {selectIds,collectionName}=req.body
    // console.log(selectIds,collectionName);
    // console.log(req);
    // res.json('result')
    deleteTVController.deleteTVlist(selectIds,collectionName, ["删除失败", "删除成功"], (result) => {
        res.json(result)
    })
})
module.exports = router;
